package com.quanyan.vote.service;

import com.quanyan.api.APIResponse;
import com.quanyan.common.Plugin.PageObj;
import com.quanyan.vote.entity.db.TbVoteDayIncre;
import com.quanyan.vote.entity.vo.req.ReqDayIncrementMsg;
import com.quanyan.vote.entity.vo.req.ReqExpertAdmin;
import com.quanyan.vote.entity.vo.req.ReqVoteDetailAdmin;
import com.quanyan.vote.entity.vo.resp.RespExpertAdmin;
import com.quanyan.vote.entity.vo.resp.RespVoteDetailAdmin;

import java.util.List;

/**
 * Created by Administrator on 2016/7/26.
 */
public interface TbVoteExpertAdminService {

    /**
     * 后管达人排名页面
     * @param reqExpertAdmin
     * @return
     */
    APIResponse<PageObj<List<RespExpertAdmin>>> getExpertAdminMsg(ReqExpertAdmin reqExpertAdmin);

    /**
     * 导出达人排名数据
     * @param reqExpertAdmin
     * @return
     */
    APIResponse<List<RespExpertAdmin>> importExpertAdminMsg(ReqExpertAdmin reqExpertAdmin);

    /**
     * 后管达人投票详情页面
     * @param reqVoteDetailAdmin
     * @return
     */
    APIResponse<PageObj<List<RespVoteDetailAdmin>>> getVoteDetailAdmin(ReqVoteDetailAdmin reqVoteDetailAdmin);

    /**
     * 导出达人投票详情数据
     * @param reqVoteDetailAdmin
     * @return
     */
    APIResponse<List<RespVoteDetailAdmin>> importVoteDetailAdmin(ReqVoteDetailAdmin reqVoteDetailAdmin);

    /**
     * 统计达人每天票增量
     * @return
     */
    APIResponse<Boolean> countDayIncrement();

    /**
     * 获取达人票数日增量信息
     * @return
     */
    APIResponse<PageObj<List<TbVoteDayIncre>>> getDayIncrementMsg(ReqDayIncrementMsg reqDayIncrementMsg);

}
